﻿using System.Collections.Generic;
using LanguageTranslator.UI.Models;

namespace LanguageTranslator.UI.Helper
{
    public static class LanguageHelper
    {
        public static IList<Language> SetDefaultLanguage(IList<Language> languages)
        {
            languages.Add(new Language { Name = "ENGLISH", Value = "en" });
            languages.Add(new Language { Name = "FRENCH", Value = "fr" });
            languages.Add(new Language { Name = "GERMAN", Value = "de" });
            languages.Add(new Language { Name = "CHINESE", Value = "zh" });
            languages.Add(new Language { Name = "DUTCH", Value = "nl" });
            languages.Add(new Language { Name = "ITALIAN", Value = "it" });
            languages.Add(new Language { Name = "JAPANESE", Value = "ja" });
            languages.Add(new Language { Name = "VIETNAMESE", Value = "vi" });

            return languages;
        }
    }
}